package com.marketapp.service;

import java.util.List;

import com.marketapp.domain.Sector;
import com.marketapp.helper.ServiceException;

public interface ISectorService {
	
	public List<Sector> getAllSector() throws ServiceException; 
	
	public Sector getSectorById(int sectorId) throws ServiceException;
	
	public void saveSector(Sector sector) throws ServiceException;
	
	public boolean checkifSectorExist(String sector_name) throws ServiceException;
	
	public List<Sector> getSectorByName(String sector_name) throws ServiceException;
	
	public List<String> searchSectorByName(String sector_name) throws ServiceException;
}
